package com.ming.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/test")
public class TestController {
    @RequestMapping("/info")
    public String info(){
        return "ming-jung";
    }
    @RequestMapping("/infoMap")
    public String infoMap(@RequestParam("username") String username){
        return username;
    }
}
